Job: edge (rust)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust","units":"api","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 4ef467f8856abf8db69ce41b3de7f017a7483b0e
Checked out 4ef467f8856abf8db69ce41b3de7f017a7483b0e
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18dca2f309ffb505.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (2.6 MB in 2.2s)
Cache restored from key: worker-build-tools-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (115.1 MB in 3.8s)
Cache restored from key: cargo-crates-Linux-afaf53b999003c32e768d881f48250ecb2fc6f9c2f24776ba6e21e8aca3863fe (65.0 MB in 17.1s)
Cache restored from key: cargo-target-Linux-rust-3-03d58889b77f694c0139d2cbca29812b93979916a9f7da6d6eb5d2261402a978 (187.0 MB in 66.8s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18dfa30a447c53ba.sh
sccache: Starting the server...
sccache: Listening on address 127.0.0.1:4226
sccache 0.18.0: rustc goes through it from here on, cached in this repository's Actions cache.
##[group]Install
node scripts/deploy.mjs install --only "api"
##[endgroup]
shell: bash -e /home/runner/_temp/18dea30b46dc9194.sh
npm ci --no-audit --no-fund --workspaces=false

added 39 packages in 4s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy api
node scripts/deploy.mjs deploy --only "api" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d9a30cd6576e98.sh
Deploying 4ef467f8856a (The advisories a repository publishes live in security_advisories: the security database already had an advisories table, its cache of OSV advisories, so the migration for repository advisories stopped at its first statement on deploy.)

unit  stage  action  live          migrations  why
----  -----  ------  ------------  ----------  ------------------------------------------
api   edge   deploy  d0fd07e23f54              15 changed files (apps/api/src/openapi.rs)

1 to deploy: edge (api)
== edge: api
[api]  ⛅️ wrangler 4.146.0
[api] ────────────────────
[api] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[api] [custom build] [INFO]: Checking for the Wasm target...
[api] [custom build] 
[api] [custom build] [INFO]: Compiling to Wasm...
[api] [custom build] 
[api] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[api] [custom build] 
[api] [custom build]    Compiling digest v0.10.7
[api] [custom build] 
[api] [custom build]    Compiling sha2 v0.10.9
[api] [custom build] 
[api] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[api] [custom build] 
[api] [custom build]    Compiling g1t-api v0.1.0 (/home/runner/work/repo/apps/api)
[api] [custom build] 
[api] [custom build]     Finished `release` profile [optimized] target(s) in 27.15s
[api] [custom build] 
[api] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[api] [custom build] 
[api] [custom build] [INFO]: :-)Done in 30.82s
[api] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/apps/api/build/.tmp.
[api] [custom build] 
[api] [custom build] 
[api] [custom build]   index.js  29.3kb
[api] [custom build] 
[api] [custom build] ⚡ Done in 10ms
[api] [custom build] 
[api] Total Upload: 6869.37 KiB / gzip: 1477.36 KiB
[api] Worker Startup Time: 8 ms
[api] Your Worker has access to the following bindings:
[api] Binding                                                         Resource          
[api] env.BLOBS (16a4232cb746418db53782aa068be693)                    KV Namespace      
[api] env.ACTIONS_CACHE (g1t-actions-cache)                           R2 Bucket         
[api] env.IDENTITY (g1t-identity)                                     Worker            
[api] env.REPOS (g1t-repos)                                           Worker            
[api] env.WORK (g1t-work)                                             Worker            
[api] env.EVENTS (g1t-events)                                         Worker            
[api] env.RUNNER (g1t-runner)                                         Worker            
[api] env.BILLING (g1t-billing)                                       Worker            
[api] env.INTEGRATIONS (g1t-integrations)                             Worker            
[api] env.WEBHOOKS (g1t-webhooks)                                     Worker            
[api] env.ACTIONS (g1t-actions)                                       Worker            
[api] env.DEPLOYMENTS (g1t-deployments)                               Worker            
[api] env.CONTEXT (g1t-context)                                       Worker            
[api] env.SEARCH (g1t-search)                                         Worker            
[api] env.SECURITY (g1t-security)                                     Worker            
[api] env.PROJECTS (g1t-projects)                                     Worker            
[api] env.PACKAGES (g1t-packages)                                     Worker            
[api] env.ARTIFACTS (g1t-artifacts)                                   Worker            
[api] env.AGENTS (g1t-agents)                                         Worker            
[api] env.API_ANONYMOUS_LIMIT (60 requests/60s)                       Rate Limit        
[api] env.API_TOKEN_LIMIT (1000 requests/60s)                         Rate Limit        
[api] Uploaded g1t-api (7.28 sec)
[api] Deployed g1t-api triggers (3.56 sec)
[api]   api.g1t.sh (custom domain)
[api]   mcp.g1t.sh (custom domain)
[api] Current Version ID: 926ae40d-a579-481f-8576-0bfbb3f5f4cf

unit  stage  result  version                               time   note
----  -----  ------  ------------------------------------  -----  ----
api   edge   ok      926ae40d-a579-481f-8576-0bfbb3f5f4cf  56.9s

Deployed in 59.0s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d8a31b094534b4.sh
Compile requests                       9
Compile requests executed              4
Cache hits                             4
Cache hits (Rust)                      4
Cache misses                           0
Cache hits rate                   100.00 %
Cache hits rate (Rust)            100.00 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     0
Cache errors                           0
Compilations                           0
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                    5
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                0.000 s
Average compiler                   0.000 s
Average cache read hit             1.669 s
Failed distributed compilations        0

Non-cacheable reasons:
-                                      2
missing input                          2
crate-type                             1

Cache location                  ghac, name: sccache-v0.18.0, prefix: /sccache/
Base directories                (none)
Version (client)                0.18.0
Cache saved with key: cargo-target-Linux-rust-03d58889b77f694c0139d2cbca29812b93979916a9f7da6d6eb5d2261402a978 (188.0 MB, packed in 1.1s, sent in 24.5s)
